package com.choosefine.springboot.devops.demo.beetlSql.quhengOrder;

import org.beetl.sql.core.SQLManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by 邱鹏 on 2017/1/6.
 */
@Service
@Qualifier("orderService")
public class QuHengOrderService {
    @Autowired
    SQLManager sqlManager;
    public List selectOrder(QuHengOrder order) {
        Map paramMap=new HashMap();
        List list = sqlManager.select("quHengOrder.selectOrder",QuHengOrder.class,order);
//        String name = String.valueOf(sqlManager.select("quHengOrder.selectOrderReturnName",String.class,order));
//        sqlManager.insert
        return list;
    }
}
